/*
 * @Author: 康为 18037890117@163.com
 * @Date: 2023-03-27 16:00:35
 * @LastEditors: 康为 18037890117@163.com
 * @LastEditTime: 2023-07-31 13:50:48
 * @FilePath: /umi-max/src/pages/Home/index.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import CardFrame from '@/framework/Card';
import { PageContainer } from '@ant-design/pro-components';
import styles from './index.less';
import { useInterval } from 'ahooks';

const HomePage: React.FC = () => {
  useInterval(
    () => {
      console.log(1111);
    },
    1000 * 60 * 10,
    { immediate: true },
  );
  return (
    <PageContainer ghost>
      <div className={styles.container}>
        
        
        
        
        <div className={styles.top}>
          <CardFrame
            title="待办列表"
            cardType="FundRank"
            style={{ flex: 1 }}
          ></CardFrame>
          <CardFrame
            title="OverView"
            cardType="OverView"
            style={{ flex: 1 }}
          ></CardFrame>
        </div>
      </div>
    </PageContainer>
  );
};

export default HomePage;
